package cn.wolfcode.service;
import cn.wolfcode.domain.Permission;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;
public interface IPermissionService {
        void delete(Long id);
        void save(Permission permission);
        Permission get(Long id);
        List<Permission> listAll();
        void update(Permission permission);
        PageInfo<Permission> query(QueryObject qo);

        //权限加载
        void reload();
        //根据员工id查询对应的权限
        List<String> selectExpressionByEmpId(Long employeeId);
}
